
interface ResponseData<T> {
    code: number,
    data: T,
    message: string,
    ok: boolean
}

interface PageData<T> {
    current: number,
    pages: number,
    records: T[],
    serachCount: boolean,
    size: number,
    total: number
}

export type { ResponseData, PageData }